<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE HTML>
<html>
<head>
  <title>首页</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <!-- 引入 Bootstrap -->
  <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

<style>

    form{padding:0px 15px 15px 120px;}
    form{width:500px;height:300px;}
    form fieldset{border:0;align:center;}
    form label{display:inline-block;width:80px;text-align:right}
    input{width:240px;height:30px;}
    #submit{width:300px;height:35px;position:relative;left:200px;}
    #submit:hover{
        cursor: pointer;
        background:#D8D8D8;
    }
    #bg{
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        position: absolute;
    }
    #box{position:fixed;left:0px;right:0px;width:706px;margin-left:auto;margin-right:auto;top:100px;}
</style>
</head>

<body>
<img id="bg" src ="image/backgroud.jpg" style="z-index: -1" />
<div id="box">
    <form action="${pageContext.request.contextPath}/user/login" method="post">
        <fieldset>
            <p>
                <label>用户名</label>
                <input type="text" name="UNAME" required/><br>
            </p>
            <p>
                <label>密码：</label>
                <input type="password" name="PWD" required /><br>
            </p>
        </fieldset>
        <input type="submit" value="登录"/>
        <button><a href="${pageContext.request.contextPath}/zhuce">
            注册
        </a></button>
    </form>
</div>


</body>
</html>